<!-- INCLUDE overall_header.html -->

<h1><!-- IF S_EDIT -->{L_MENU_EDIT}<!-- ELSE -->{L_MENU_ADD}<!-- ENDIF --></h1>

<form id="form_menu" method="post" action="{U_ACTION}">
	<fieldset>
		<legend>{L_MENU_SETTINGS}</legend>
		
		<dl>
			<dt><label for="menu_name">{L_MENU_NAME}:</label><br />
			<span>{L_MENU_NAME_EXP}</span></dt>
			<dd><input type="text" id="menu_name" name="menu_name" value="{MENU_NAME}" /></dd>
		</dl>
		
		<dl>
			<dt><label for="menu_link">{L_MENU_LINK}:</label><br />
			<span>{L_MENU_LINK_EXP}</span></dt>
			<dd><input type="text" id="menu_link" name="menu_link" value="{MENU_LINK}" /></dd>
		</dl>
		
		<dl>
			<dt><label for="menu_status">{L_MENU_STATUS}:</label></dt>
			<dd>
				<label><input type="radio" class="radio" name="menu_status" value="active"<!-- IF MENU_STATUS_ACTIVE || MENU_STATUS_NOTCREATED == false || MENU_STATUS_DISABLED == false  --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_STATUS_ACTIVE}</label>
				<label><input type="radio" class="radio" name="menu_status" value="not_created"<!-- IF MENU_STATUS_NOTCREATED --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_STATUS_NOT_CREATED}</label>
				<label><input type="radio" class="radio" name="menu_status" value="disabled"<!-- IF MENU_STATUS_DISABLED --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_STATUS_DISABLED}</label>
			</dd>
		</dl>
		
		<dl>
			<dt><label for="menu_active_check">{L_MENU_ACTIVE_CHECK}:</label><br />
			<span>{L_MENU_ACTIVE_CHECK_EXP}</span></dt>
			<dd>
				<textarea name="menu_active_check" id="menu_active_check" cols="60" rows="10">{MENU_ACTIVE_CHECK}</textarea>
			</dd>
	</fieldset>
	
	<fieldset class="submit-buttons">
		<legend>{L_SUBMIT}</legend>
		
		{S_FORM_TOKEN}
		
		<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
		<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
	</fieldset>
</form>

<!-- INCLUDE overall_footer.html -->